﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;
namespace DAL
{
    public class DALCMS_Comment
    {
        public List<CMS_Comment> GetCMS_Comments()
        {
            using (var db = new KQCMS())
            {
                return db.CMS_Comment.Where(x => x.cmtime.Value.Year > 2022).ToList();
            }
        }
    }
}
